class Parent{
    constructor(){
        this.name="Parent";
    }
    print(){
        console.log(this.name);
    }
}

class Child extends Parent{
    constructor(){
        super();
        this.name="Child";
    }
    ChildPrint(){
        super.print();
    }
}
const c=new Child();
//this 指向了 Child 
c.ChildPrint();

//子类的__proto__指向父类本身
//子类的prototype属性的__proto__指向父类的prototype属性
//实例的__proto__属性的__proto__指向父类属性的__proto__